//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.gx.dto.base.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 分页查寻
 *
 * @param <T> 泛型
 * @author lpj
 */
@Data
public class PageQuery<T> {
    @NotNull(message = "查询参数不能为空")
    @Valid
    private T model;
    @ApiModelProperty(value = "当前页码", example = "1")
    private int current = 1;
    @ApiModelProperty(value = "每页条数", example = "10")
    private int size = 10;

}
